package router

import (
	"fmt"
	"github.com/gin-gonic/gin"
	v1 "goblog/api/v1"
)

func InitBaseRoute(Router *gin.RouterGroup) (R gin.IRouter) {

	BaseRouter := Router.Group("base")
	{
		BaseRouter.GET("register",v1.Register)
		BaseRouter.GET("login",v1.Login)
		BaseRouter.POST("postTest",v1.PostAuth)
		fmt.Println(BaseRouter)
	}
	return BaseRouter

}
